<#include file="public/header.html"#>

<div class="wrap">
    <div class="f16 top-icon">
        <div class="icon"><br /></div>
        分类目录
        <a href="<#url class=Content function=cateAdd#>"class="button add-new mt10">新增分类</a>
        <br class="clear" />
    </div>
    <div class="cate-list">
        <table width="98%" cellspacing="1" cellpadding="5" border="0" class="tb" id="categoryList">
            <tbody>
                <tr class="tb-head">
                    <td colspan="3">如果排序为0则隐藏该类</td>
                </tr>
                <tr class="tb-title">
                    <th>栏目名称</th>
                    <th width="50">排序</th>
                    <th width="300">操作</th>
                </tr>

                <#$category#>

            </tbody>
        </table>
    </div>
    <script>
        function doAction(type,obj){
            switch(type){
                case 'delete':
                    return window.confirm(obj.mes);
                default:
                    return false;
            }
        }
        $(function(){
            $("#categoryList tr.tb-row").mouseover(function(){
                $(this).css("background","#0099CC");
            }).mouseout(function(){
                $(this).css("background","");
            });            
        });
    </script>

</div>

<#include file="public/footer.html"#>